package main

import (
    "fmt"
    "laxkits/lib/laxcmdline"
    "laxkits/lib/laxutils"
)

func main() {
    fmt.Println("start")
    laxcmdline.RegisterCmdLine("t1",func (cmd []string) string{
        return "this is t1 test"
    })
    laxcmdline.RegisterCmdLine("t2",func (cmd []string) string{
        return "this is 21 test"
    })
    fmt.Println("start cmdline")
    laxcmdline.StartCmdLine()
    fmt.Println("start cmdline over")
    laxutils.CloseGracefully(nil)
}
